﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base target="center" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改用户</title>
<style type="text/css">
	h3{ margin-bottom:0px; margin-left:10px;}
	.le{ display:inline-block; text-align:right; width:20%; height:30px; line-height:30px; margin-top:8px;}
	table{ margin-top:20px; width:80%; border-spacing:5px;}
	input{ line-height:23px;}
	input[type="text"]{ height:23px; width:300px; line-height:23px; padding-left:5px;}
	input[type="submit"]{ height:35px; width:60px;background-color:#036; color:#FFF; font-size:14px;border:none;}
</style>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/ZC-js.js"></script>
</head>

<body>
<h3><img src="img/adsa.png" /> 修改用户</h3>
<hr size="2px" color="#FF9933" width="90%" align="left" />
<form action="../MainServlet?option=update&ta=user&thisID=${sessionScope.list[0].id }" method="post" onsubmit="return checkall()"> 
	
    	<span class="le">用户名(*)：</span>
        <input type="text" name="account" value="${sessionScope.list[0].account }" id="account" onblur="accountcheck()"/><span id="s_account"></span><br />
  
    	<span class="le">真实姓名(*)：</span>
        <input type="text" name="name" value="${sessionScope.list[0].name }" onblur="namecheck()" id="name"  /><span id="s_name"></span><br />
   
    	<span class="le">登陆密码(*)：</span>
        <input type="text" name="password" value="${sessionScope.list[0].password }" id="password" onblur="passwordcheck()" maxlength="12" /><span id="s_password"></span><br/>
    
    	<span class="le">确认密码(*)：</span>
        <input type="text" id="password_f" onblur="password_fcheck()"/><span id="s_password_f"></span><br />
 
    	<span class="le">性别(*)：</span>
        <input type="radio" name="sex" value="男" ${sessionScope.list[0].sex=="男"?"checked":"" }/>男性
        <input type="radio" name="sex" value="女" ${sessionScope.list[0].sex=="女"?"checked":"" }/>女性<br />
    
    	<span class="le">出生日期：</span>
        <input type="text" name="birth" value="${sessionScope.list[0].birth }" /><br />
        
    	<span class="le">身份证：</span>
        <input type="text" name="cardID" value="${sessionScope.list[0].cardID }" maxlength="18" id="sfz" onblur="sfzcheck()"/><span id="s_sfz"></span><br />
   
    	<span class="le">电子邮件：</span>
        <input type="text" name="email" value="${sessionScope.list[0].email }" id="email" onblur="emailcheck()"  /><span id="s_email"></span><br />
    
    	<span class="le">手机：</span>
        <input type="text" name="cellphone"  value="${sessionScope.list[0].cellphone }" id="cellphone" onblur="phonecheck()" maxlength="11"/><span id="s_phone"></span><br />
  
    	<span class="le">地址(*)：</span>
        <input type="text" name="address" value="${sessionScope.list[0].address }" id="address" onblur="addresscheck()" /><span id="s_address"></span><br />
        
        <span class="le"></span>
        <input type="submit" value="更新" />

</form>

</body>
</html>
